package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;

import javax.persistence.*;

import org.apache.commons.lang.builder.ToStringBuilder;

import java.math.BigDecimal;


/**
 * The persistent class for the PS_C_PAYSLIP_HDR database table.
 */
@Entity
@Table(name = "PS_C_PAYSLIP_HDR")
@NamedQuery(name = "PsCPayslipHdr.findAll", query = "SELECT p FROM PsCPayslipHdr p")
@IdClass(PsCPayslipHdrPrimary.class)
public class PsCPayslipHdr implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column(name = "C_AMT_001")
    private BigDecimal cAmt001;

    @Column(name = "C_AMT_002")
    private BigDecimal cAmt002;

    @Id
    @Column(name = "CAL_RUN_ID")
    private String calRunId;

    private String descr;

    @Id
    private String emplid;

    @Id
    @Column(name = "YEAR")
    private String year;

    private String calPrdId;

    private String runType;

    public PsCPayslipHdr() {
    }

    @Transient
    public String getRunType() {
        return runType;
    }

    public void setRunType(String runType) {
        this.runType = runType;
    }

    @Transient
    public String getCalPrdId() {
        return calPrdId;
    }

    public void setCalPrdId(String calPrdId) {
        this.calPrdId = calPrdId;
    }

    public BigDecimal getcAmt001() {
        return cAmt001;
    }

    public void setcAmt001(BigDecimal cAmt001) {
        this.cAmt001 = cAmt001;
    }

    public BigDecimal getcAmt002() {
        return cAmt002;
    }

    public void setcAmt002(BigDecimal cAmt002) {
        this.cAmt002 = cAmt002;
    }

    public String getCalRunId() {
        return calRunId;
    }

    public void setCalRunId(String calRunId) {
        this.calRunId = calRunId;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public String getEmplid() {
        return emplid;
    }

    public void setEmplid(String emplid) {
        this.emplid = emplid;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }


    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}